package net.wsfcp.android.http.mvp.contract;

import net.wsfcp.android.bean.resultbean.BillBean;
import net.wsfcp.android.bean.resultbean.UserAssetsBean;

/**
 * Created by Shaoboyang on 2018/12/14.
 * 契约类,定义登录用到的一些接口方法
 */

public class BillContract {

    public interface BillView {

        void getBillListSuccess(BillBean bean);

        void getBillListFail(int code, String failMsg);

        void getTotalAssetsSuccess(UserAssetsBean bean);

        void getTotalAssetsFail(String failMsg);


    }


    public interface BillPresenter {
        void getBillList(int page, int pageSize);

        void getTotalAssets();
    }
}
